import { http } from "@/utils/http";

type Result = {
  success: boolean;
  data: Array<any>;
};

export const getAsyncRoutes = () => {
  return http.request<Result>(
    "get",
    "https://mock.apifox.com/m1/3967928-0-default/routes"
  );
};
